/*!
* This file is part of - WebExtras
* Copyright (C) 2014 Mihir Mone
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
/** GENERIC STYLING **/
input[type="checkbox"],
input[type="radio"] {
  vertical-align: top;
}
.checkbox-group,
.radiobutton-group {
  width: 100%;
}
.keep-center {
  text-align: center !important;
}
.keep-right {
  text-align: right !important;
}
.keep-left {
  text-align: left !important;
}
.keep-middle {
  vertical-align: middle !important;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
#actionmessage {
  position: fixed;
  top: 0;
  right: 0.2%;
  z-index: 2000;
}
.required {
  color: #b94a48;
}
/** GENERIC STYLING END **/
/** GENERIC DATATABLES EXTENSIONS AND OVERRIDES **/
table.dataTable thead th {
  border-bottom: 0;
}
table.dataTable thead th div.DataTables_sort_wrapper {
  padding-right: 20px;
  position: relative;
}
table.dataTable thead th div.DataTables_sort_wrapper span {
  margin-top: -8px;
  position: absolute;
  right: 0;
  top: 50%;
}
table.dataTable thead th .css_right {
  float: right;
}
.dataTables_scrollBody {
  margin-top: -3px;
  background: #ffffff;
}
.dataTables_scroll {
  border-left: 1px solid;
  border-right: 1px solid;
}
/** GENERIC DATATABLES EXTENSIONS AND OVERRIDES END **/
/* jqPlot OVERRIDES */
.jqplot-target {
  font: 12px Arial;
}
/* jqPlot EXTENSIONS */
.jqplot-title {
  margin: 0.5em;
}
.jqplot-xaxis {
  margin-top: 7px;
}
.jqplot-yaxis {
  margin-right: 7px;
}
.jqplot-y2axis {
  margin-left: 7px;
}
/* JQUERY UI OVERRIDES */
input,
textarea,
select {
  min-height: 20px;
}
.ui-icon {
  display: inline-block;
  margin-right: 2px;
  margin-bottom: -2px;
}
.ui-state-success {
  background: url(img/jqueryui/ui-bg_highlight-soft_60_4ca20b_1x100.png) repeat-x scroll 50% 50% #4ca20b;
  border: 1px solid #45930B;
  color: #FFFFFF;
  font-weight: normal;
}
.ui-state-success .ui-icon {
  background-image: url(img/jqueryui/ui-icons_ffffff_256x240.png);
}
*[class*=ui-alert] {
  padding: 5px 0;
  margin: 0 0 2px 0;
}
*[class*=ui-alert] *[class*=ui-state] {
  padding: 3px 5px;
}
*[class*=ui-alert] .ui-icon {
  margin-top: 2px;
  margin-right: 2px;
}
/* JQUERY UI EXTENSIONS */
.ui-table {
  border: 1px solid #aaaaaa;
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}
.ui-table tr {
  border: 1px solid #aaaaaa;
}
.ui-table tr td,
.ui-table tr th {
  padding: 0.5em;
  line-height: 20px;
  vertical-align: top;
  border-left: 1px solid #aaaaaa;
}
.ui-table tr td:first-child,
.ui-table tr th:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.ui-icon.ui-error {
  background-image: url(img/jqueryui/ui-icons_a83300_256x240.png);
}
.ui-icon.ui-highlight {
  background-image: url(img/jqueryui/ui-icons_4b8e0b_256x240.png);
  border: 0;
}
.ui-datepicker-container {
  padding: 4px 5px 4px 0;
  margin-top: 1px;
}
.ui-datepicker-container .hasDatepicker {
  margin-left: -1px;
}
.ui-datepicker-trigger {
  margin-left: 3px;
  margin-right: -2px;
  margin-bottom: -3px;
  cursor: pointer;
}
/* JQUERY DATATABLE EXTENSIONS */
table.display tbody tr.success td {
  background-color: #dff0d8;
}
table.display tbody tr.error td,
table.display tbody tr.danger td {
  background-color: #f2dede;
}
table.display tbody tr.warning td {
  background-color: #fcf8e3;
}
table.display tbody tr.info td {
  background-color: #d9edf7;
}
